package by.bsu.scs.presentation.form;

import java.util.ArrayList;

import org.apache.struts.action.ActionForm;

import by.bsu.scs.model.MarkPolicy;
import by.bsu.scs.model.MarkPolicyCriteria;

/**
 * @author Alexey Hursevich
 * @version 1.0
 * 
 * Mark policy form bean.
 */
public class MarkPolicyForm extends ActionForm {
	private static final long serialVersionUID = 1L;
	
	private int policyId;
	private String policyShort;
	private String policyDescription;
	private String[] markPolicyCriteria;
	private ArrayList<MarkPolicy> markPolicyList;
	private ArrayList<MarkPolicyCriteria> markPolicyCriteriaList;
	private String operationType;
	
	public int getPolicyId() {
		return policyId;
	}
	public void setPolicyId(int policyId) {
		this.policyId = policyId;
	}
	
	public String getPolicyShort() {
		return policyShort;
	}
	public void setPolicyShort(String policyShort) {
		this.policyShort = policyShort;
	}
	public String getPolicyDescription() {
		return policyDescription;
	}
	public void setPolicyDescription(String policyDescription) {
		this.policyDescription = policyDescription;
	}
	public String[] getMarkPolicyCriteria() {
	    return this.markPolicyCriteria;
	}
	public void setMarkPolicyCriteria(String[] markPolicyCriteria) {
	    this.markPolicyCriteria = markPolicyCriteria;
	}
	
	public ArrayList<MarkPolicy> getMarkPolicyList() {
		return markPolicyList;
	}
	public void setMarkPolicyList(ArrayList<MarkPolicy> markPolicies) {
		this.markPolicyList = markPolicies;
	}
	
	public ArrayList<MarkPolicyCriteria> getMarkPolicyCriteriaList() {
		return markPolicyCriteriaList;
	}
	
	public void setMarkPolicyCriteriaList(ArrayList<MarkPolicyCriteria> markPolicyCriteriaList) {
		this.markPolicyCriteriaList = markPolicyCriteriaList;
	}
	
	public String getOperationType() {
		return operationType;
	}
	
	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}
}
